<template>
  <div id="app">
   <super_head></super_head>
   <keep-alive >
		<!-- //当前进入的路由 meta里面 keepAlive为true时走这里 -->
      <router-view v-if="$route.meta.keepAlive"></router-view>
    </keep-alive>
    
    <!-- //当前进入的路由 meta里面 keepAlive为false时走这里 下面 if 判断进行了取反处理 -->
    <router-view v-if="!$route.meta.keepAlive"></router-view>

   <super_foot></super_foot>
  </div>
</template>
<script>
import super_head from '@/components/head'
import super_foot from '@/components/foot'
export default {
  name:'App',
  components:{
    super_head,
    super_foot,
  },
  data() {
    return {
    
    }
  },
  
}
</script>
<style>

</style>
